<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  <!-- # START:title -->
  <title>TucsonRails <%= ": #{@title} " if @title %></title> <!-- <label id="code.rails_app.layout_users.19"/> -->
  <%= stylesheet_link_tag "screen", :media => "screen" %>
  <!-- # END:title -->
</head>

<body class="<%= controller.controller_name %>">
<div id="wrapper"> 
  <div id="logo">
    <img src="/images/logo.gif" alt="Tucson Rails" />
  </div>

  <div id="nav">
    <!-- START:links -->
    <ul>
      <li id="nav_meetings">
        <%= link_to "Meetings", :controller => "meetings" %>
      </li>
      <li id="nav_users">
        <%= link_to "Members", :controller => "users" %>
      </li>
    </ul>
    <div>
    <% if logged_in? %>
      <%= link_to "your profile", :controller => "users", 
                                  :action     => "show", 
                                  :id         => @current_user.id %>
      &nbsp;
      <%= link_to "logout", :controller => "sessions", 
                            :action     => "destroy" %>
    <% else %>
      <%= link_to "join us", :controller => "users", :action => "new" %>
      &nbsp;
      <%= link_to "login", :controller => "sessions", :action => "new" %>
    <% end %>
    </div>
    <!-- END:links -->
  </div>

  <div id="content">
    <%= yield :layout %>
  </div>

  <div id="footer">&nbsp;</div>
</div>
</body>
</html>